package com.zlkj.pro.modular.business.service;

import com.zlkj.pro.modular.admin.model.dto.DashboardDTO;
import com.zlkj.pro.modular.admin.model.vo.UserVO;
import com.zlkj.pro.modular.business.model.dto.AgentDTO;
import com.zlkj.pro.modular.business.model.vo.AgentVO;

import java.util.List;
import java.util.Map;

/**
 * @author liyang
 */
public interface DashboardService {

    Map<String, Object> customer(DashboardDTO dto);

    List<Map<String, Object>> customerByMonths(DashboardDTO dto);

    List<Map<String, Object>> salesPerformance(DashboardDTO dto);

    UserVO selectUserInfo(Long userId);

    List<Map<String, Object>> seniorityUser(DashboardDTO dto);

    List<Map<String, Object>> seniorityAgent(DashboardDTO dto);

    List<Map<String, Object>> seniorityRegion(DashboardDTO dto);

    List<AgentVO> findAgentList(AgentDTO dto);
}
